<?php
/**
 * Created by PhpStorm.
 * User: sun
 * Date: 2022/7/8
 * Time: 8:15 AM
 */
namespace app\common\events\content;

use app\common\models\Article;
use app\common\events\Event;

class ArticleDeletedEvent extends Event
{
    public $id;

    /**
     * Create a new event instance.
     *
     * @param int $id
     */
    public function __construct($id)
    {
        $this->id = $id;
    }

    /**
     * @return int
     */
    public function getId()
    {
        return $this->id;
    }



}